#
# Find all of the protocol directory names, and get the basename followed
# by a trailing slash.
#
protocols=$(shell find include/vservices/protocol/ -mindepth 1 -type d -exec basename {} \;)
protocol_dirs=$(foreach p, $(protocols), $(p)/)

#
# Export the headers for all protocols. The kbuild file in each protocol
# directory specifies exactly which headers to export.
#
header-y += $(protocol_dirs)
